package niuKe.HW;

import java.util.ArrayList;
import java.util.List;

public class HJ6 {
    public static void main(String[] args) {
        long num = 64577;
        long k = (long) Math.sqrt(num);
        for(int i = 2; i <= k; i++) {
            while(num % i == 0) {
                System.out.print(i + " ");
                num /= i;
            }
        }
        System.out.println(num == 1 ? "" : num + " ");
    }
}
